package com.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MenuDao {

    int save(Map<String,Object> param);

    int update(Map<String, Object> param);

    int del(@Param("menu_id") String menu_id);

    List<Map<String, Object>> list(@Param("menu_name") String menu_name,@Param("menu_uri") String menu_uri,@Param("listMenuId") List<String> listMenuId);

    List<Map<String, Object>> selectAll();

    Integer getMax(@Param("pid") String pid);

    List<String> listPidByListId(@Param("list") List<String> list);
}
